#pragma once

struct sGuid;
class cUnit;
class CMoving;

class CPlayer
{
public:
    CPlayer();
    ~CPlayer();
    bool Update(const sGuid& guid);
    sPos GetPos();
    void ModifyHeading(float angle);
    bool IsCasting(){ return false;}
    bool IsChannel(){ return false;}
    DWORD MoveToPos(sPos& s, DWORD type, float err);
    void  EndMoving();
private:
    cUnit* mpData;
    CMoving* m_pMove;
};